<div class="box-body" style="display: block;">
    <form method="POST" action="/xqc/delivery/fba-upload" class="form-horizontal" accept-charset="UTF-8" enctype="multipart/form-data">
        <div class="box-body fields-group">
            <div class="form-group">
                <label class="col-sm-3 control-label"></label>
                <div class="col-sm-5">
                    <label style="padding-top: 8px;" for="account_id" class="col-sm-3 control-label">发货账号</label>
                    <div class="col-sm-8">
                        <select id="account_id" name="account_id" required>
                            {{ getOptions(\App\Models\Basics\SysPlatAccount::getPlatAccountArray()) }}
                        </select>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label"></label>
                <div class="col-sm-5">
                    <label style="padding-top: 8px;" for="country_id" class="col-sm-3 control-label">发货国家</label>
                    <div class="col-sm-8">
                        <select id="country_id" name="country_id" required>
                            {{ getOptions(\App\Models\Basics\AmazonCountry::options()) }}
                        </select>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label"></label>
                <div class="col-sm-5">
                    <label style="padding-top: 8px;" class="col-sm-3 control-label">发货单</label>
                    <div class="col-sm-8">
                        <input type="file" style="margin-top: 4px;" name="source_file" accept=".tsv" required>
                        <span class="help-block"><i class="fa fa-info-circle"></i>&nbsp;文件后缀为.tsv</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="box-footer">
            <div class="col-md-3"></div>
            <div class="col-md-5" style="text-align: center;">
                <div class="btn-group">
                    {{ csrf_field() }}
                    <button type="submit" class="btn btn-info">提交</button>
                </div>
            </div>
        </div>
    </form>
</div>
<script language="JavaScript" type="text/javascript">
    $(function () {
        $('#account_id').select2({placeholder: '发货账号', allowClear: true, width: '180px'});
        $('#country_id').select2({placeholder: '发货国家', allowClear: true, width: '180px'});
    });
</script>
